<?php if( $errmsg->size('reg') > 0 ) $errmsg->output('reg'); ?> 

    <div class="nav_bar"><?php $breadcrumb->trail(" > " );?></div>
        <div class="main_box">
        <!--****************左栏开始***********************-->
        <div class="left_bar">
            <div class="orange_box">
                <div class="orange_top"></div>
                    <div class="orange_middle">
                    <div class="orangetitle"><?php secho( $shopName ); ?></div>
                          
                            <?php
								//print_r($productList);
								if($productList)
								{
									echo '<dl class="goodlist">';
                       			    echo '<dt>购买的商品：</dt><dd>	';							                       			    
									foreach($productList as $product)
									{	
							?> 										
										<span>
										<a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$product['id']);?>">
											<?php secho( edp_db_output($product['product_name']) ); ?>
										</a>
										</span>										
							<?php
									}									                         
                       				echo '</dd> </dl>';
								} 
							?>
                         
                        <div class="red_box">
                        <div class="point_box">

                                <span class="score<?php echo $reviewResult['score']+1;?>"></span>

                            </div>
                            <ul class="red_list">
                            	<li class="red_list_1"><span><?php echo $reviewResult['reality'];?></span></li>
                                <li class="red_list_2"><span><?php echo $reviewResult['service'];?></span></li>
                                <li class="red_list_3"><span><?php echo $reviewResult['velocity'];?></span></li>
                                <li class="red_list_4"><span><?php echo $reviewResult['rate'];?></span></li>
                            </ul>
                        </div>
                        <div class="white_box">
                        	<div class="white_1"><?php echo newLineToBr( sconv($reviewResult['content']) ); ?></div>
                        	                       	
                        	<?php 
								if(isset($pictureList))
								{
							
									foreach($pictureList as $picture)
									{
							?>
		                       		<div class="white_2"><h1></h1><h2><a href="<?php echo EdpGetPicURL( $picture['picture_path'] );?>"><?php secho( $picture['name'] ); ?></a></h2></div>                     	
		                            <div class="white_3"><a href="<?php echo EdpGetPicURL( $picture['picture_path'] );?>"><img src="<?php echo EdpGetPicURL( $picture['picture_path'] );?>" /></a></div>							
										
							<?php
									}
								} 
							?>
							                         
                        	<div class="gray_bg">
								<?php
									if(isset($paymethodList))
									{
									    echo '<dl class="gray_list"><dt>付款方式：</dt><dd>';
										foreach($paymethodList as $paymethod)
										{
								?>
											<span><a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT, 'paymethod[]='.urlencode($paymethod['id']));?>"><?php secho( $paymethod['method_name'] ); ?></a></span>
								<?php				
											//echo '<span>'.$paymethod['method_name'].'</span>';						
										}
										echo '</dd></dl>';
									}
								?>

								<?php
									if(isset($featureList))
									{
										echo '<dl class="gray_list"><dt>特色：</dt><dd>';
										foreach($featureList as $feature)
										{
								?>
											<span><a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT, 'feature[]='.urlencode($feature['id']));?>"><?php secho( $feature['feature_name'] ); ?></a></span>
											
								<?php
											//echo '<span>'.$feature['feature_name'].'</span>';
										}
										echo '</dd></dl>';
									}
								?>

								<?php
									if(isset($tagList))
									{
										echo '<dl class="gray_list"><dt>标签：</dt><dd>';
										foreach($tagList as $tag)
										{

								?>
											<span><a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT, 'q='.urlencode($tag));?>"><?php secho( $tag ); ?></a></span>
								<?php

										}
										echo '</dd></dl>';										
									} 
								?>                        	
 

                            </div>
               
                               
                            <div class="comment_5">
                             
                            	<h1>发表于<?php echo substr( $reviewResult['review_date'], 0, 10 );?></h1>    
                            	<div class="comment_btns">                           
                                <h3><a href="#reply_point"></a></h3>
                                
                                <h4><a id="Flower<?php echo $reviewResult['id'];?>" onclick="popupFlowerWindow('review','<?php echo $reviewResult['id']; ?>')"  href="###"></a><?php if(intval($reviewResult['flower_count'])>0) echo '<span id="Flower'.$reviewResult['id'].'" >('.$reviewResult['flower_count'].')</span>'; ?></h4>
                                
                                <h5><a id="Egg<?php echo $reviewResult['id'];?>" onclick="popupEggWindow('review','<?php echo $reviewResult['id']; ?>')"  href="###"></a><?php if(intval($reviewResult['egg_count'])>0) echo '<span id="Egg'.$reviewResult['id'].'" >('.$reviewResult['egg_count'].')</span>'; ?></h5>

                                <h6><a href="###" onclick="popupReportWindow('4','<?php echo $reviewResult['id']; ?>')"></a></h6>
                               </div>
                            </div>
                        </div>
                        <dl class="prenext_box">

                                <dt><?php echo $reviewResult['view_count'];?>人浏览过</dt>
                        </dl>
                    </div>
                    <div class="orange_bottom"></div>
                </div>

<div id=addErrorReportBox style="display:none;cursor:default;" class="popup"></div>

<div id=flowerAndEggBox style="display:none;cursor:default;" class="popup"></div>   

	